package com.wn.icloud.provider;

import com.spring4all.swagger.EnableSwagger2Doc;
import com.wn.icloud.auth.client.EnableAuthClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author leeyang
 * @create 2017-05-25 12:44
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableCircuitBreaker
@MapperScan("com.wn.icloud.provider.uac.mapper")
@EnableSwagger2Doc
@EnableAuthClient
public class UacApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(UacApplication.class).run(args);
    }
}
